/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace ATkg.BizAppProject.DomainModels
{
    [Entity(TableCnName = "受托加工计划",TableName = "subcontracting_plan",DBServer = "ServiceDbContext")]
    public partial class subcontracting_plan:ServiceEntity
    {
        /// <summary>
       ///发出时间
       /// </summary>
       [Display(Name ="发出时间")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string FachuTime { get; set; }

       /// <summary>
       ///发出工厂
       /// </summary>
       [Display(Name ="发出工厂")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string LLDanWei { get; set; }

       /// <summary>
       ///接收工厂
       /// </summary>
       [Display(Name ="接收工厂")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Jieshou { get; set; }

       /// <summary>
       ///生产计划单
       /// </summary>
       [Display(Name ="生产计划单")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string OrderPlan { get; set; }

       /// <summary>
       ///产品
       /// </summary>
       [Display(Name ="产品")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string product { get; set; }

       /// <summary>
       ///单号
       /// </summary>
       [Display(Name ="单号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Lot { get; set; }

       /// <summary>
       ///投料批次
       /// </summary>
       [Display(Name ="投料批次")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string TlLot { get; set; }

       /// <summary>
       ///性能
       /// </summary>
       [Display(Name ="性能")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string XNeng { get; set; }

       /// <summary>
       ///镀层
       /// </summary>
       [Display(Name ="镀层")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string DuCeng { get; set; }

       /// <summary>
       ///产品规格
       /// </summary>
       [Display(Name ="产品规格")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ProductGre { get; set; }

       /// <summary>
       ///产品工程师
       /// </summary>
       [Display(Name ="产品工程师")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ProgPartner { get; set; }

       /// <summary>
       ///计划交期
       /// </summary>
       [Display(Name ="计划交期")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string PlanDate { get; set; }

       /// <summary>
       ///要求交期
       /// </summary>
       [Display(Name ="要求交期")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ReqDate { get; set; }

       /// <summary>
       ///数量
       /// </summary>
       [Display(Name ="数量")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Qty { get; set; }

       /// <summary>
       ///产品单重
       /// </summary>
       [Display(Name ="产品单重")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string PerWeight { get; set; }

       /// <summary>
       ///发料重量
       /// </summary>
       [Display(Name ="发料重量")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string SendQty { get; set; }

       /// <summary>
       ///单位
       /// </summary>
       [Display(Name ="单位")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Unit { get; set; }

       /// <summary>
       ///委托任务
       /// </summary>
       [Display(Name ="委托任务")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string OrderWT { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Statues { get; set; }

       /// <summary>
       ///是否检包
       /// </summary>
       [Display(Name ="是否检包")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string IsJB { get; set; }

       /// <summary>
       ///物料接收时间
       /// </summary>
       [Display(Name ="物料接收时间")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string AcptTimeSD { get; set; }

       /// <summary>
       ///预测发货时间
       /// </summary>
       [Display(Name ="预测发货时间")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string PredictDeliveryTime { get; set; }

       /// <summary>
       ///电镀产出计划
       /// </summary>
       [Display(Name ="电镀产出计划")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ElecOutputPlan { get; set; }

       /// <summary>
       ///物料实际发出时间
       /// </summary>
       [Display(Name ="物料实际发出时间")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string MateIssTime { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string Remarks { get; set; }

       /// <summary>
       ///更新时间
       /// </summary>
       [Display(Name ="更新时间")]
       [Column(TypeName="datetime")]
       public DateTime? update_data { get; set; }

       /// <summary>
       ///键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="键")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long Id { get; set; }

       /// <summary>
       ///是否有效(0:否,1:是)
       /// </summary>
       [Display(Name ="是否有效(0:否,1:是)")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int IsValid { get; set; }

       /// <summary>
       ///创建人ID
       /// </summary>
       [Display(Name ="创建人ID")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long CreateId { get; set; }

       /// <summary>
       ///创建人名
       /// </summary>
       [Display(Name ="创建人名")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateTime { get; set; }

       /// <summary>
       ///修改人ID
       /// </summary>
       [Display(Name ="修改人ID")]
       [Column(TypeName="bigint")]
       public long? ModifyId { get; set; }

       /// <summary>
       ///修改人名
       /// </summary>
       [Display(Name ="修改人名")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyTime { get; set; }

       
    }
}